# coding=utf8

import time
import datetime


class Preliminary:

    @staticmethod
    def time_model():
        print(f"当前时间戳：\n"
              f"time.time() = {time.time()}"
              f"结构化时间：\n"
              f"time.localtime(time.time()) = {time.localtime(time.time())}")

    @staticmethod
    def datetime_model():
        print(
            f"当前日期时间：\n"
            f"datetime.datetime.now() = {datetime.datetime.now()}\n"
            f"当前utc日期时间：\n"
            f"datetime.datetime.utcnow() = {datetime.datetime.utcnow()}\n"
            f"初始化日期时间类型：\n"
            f"datetime.datetime(2020, 1, 1) = {datetime.datetime(2020, 1, 1)}\n"
            f""
        )

    @staticmethod
    def datetime_time():
        pass

    @staticmethod
    def datetime_timedelta():
        pass

    @staticmethod
    def datetime_tzinfo():
        pass


if __name__ == '__main__':
    Preliminary.time_model()
    Preliminary.datetime_model()

